#ifndef INCLUDED_BULLET_H //if not , define
#define INCLUDED_BULLET_H

#include "SGE.h"
using namespace SGE;

class Bullet
{
public:
	Bullet();
	~Bullet();

	void Load(); //initialize
	void Unload(); //terminate
	void Update(float deltaTime);
	void Render();

	void Fire(const SVector2& pos, const SVector2& vel);
	void Kill();

	bool IsActive() const				{return mActive;}
	SCircle GetBoundingCircle() const	{return SCircle (mPosition, 10.0f);}

private:
	SGE_Sprite mSprite;
	SVector2 mPosition;
	SVector2 mVelocity;
	bool mActive;
};


#endif INCLUDED_BULLET_H